import request from "@/utils/request";

export function getList(data) {
  return request({
    url: '/homeManageDetail/getList',
    method: 'get',
    params: data
  })
}

export function getCollectList(data) {
  return request({
    url: '/openApi/imgCollect/getCollectList',
    method: 'get',
    params: data
  })
}



export function save(data) {
  return request({
    url: '/homeManageDetail/save',
    method: 'post',
    data: data
  })
}

export function saveList(data) {
  return request({
    url: '/homeManageDetail/saveList',
    method: 'post',
    data: data
  })
}

export function update(data) {
  return request({
    url: '/homeManageDetail/update',
    method: 'post',
    data: data
  })
}

export function deleteById(data) {
  return request({
    url: '/homeManageDetail/deleteById',
    method: 'post',
    data: data
  })
}
